#ifndef __StarBugs_Popup_giftParcel_H__
#define __StarBugs_Popup_giftParcel_H__
#include "cocos2d.h"
USING_NS_CC;

enum {
	giftParcel_btn_close,
	giftParcel_btn_ok,
};

class Popup_giftParcel : public cocos2d::CCLayerColor
{
public:
	//static Popup_giftParcel& getInstance();
	/*{
		if (pPopup_giftParcel == NULL) pPopup_giftParcel = Popup_giftParcel::create();
		return *pPopup_giftParcel;
	}*/

	static Popup_giftParcel* getInstancePrt();

	//bool init();
	//CREATE_FUNC(Popup_giftParcel);
	Popup_giftParcel();
	~Popup_giftParcel();
	void openPopup();
	void closePopup();
	int touchEnded(CCPoint pt);

private:
	//static Popup_giftParcel *pPopup_giftParcel;
	CCSize winSize;
	CCLayer *mainLayer;
	CCSprite *bg_block;
	CCSprite *btn_close;
	CCSprite *btn_ok;
};

#endif